#include "parafluidtriangle.h"

using namespace ParaFluid;

Triangle::~Triangle()
{
	/* does nothing */
}

Triangle::Triangle()
	: p1()
	, p2()
	, p3()
{
	/* does nothing */
}

Triangle::Triangle(const Triangle & other)
	: p1(other.p1)
	, p2(other.p2)
	, p3(other.p3)
{
	/* does nothing */
}

Triangle::Triangle(const Vector & point1, const Vector & point2, const Vector & point3)
	: p1(point1)
	, p2(point2)
	, p3(point3)
{
	/* does nothing */
}

Triangle & Triangle::operator= (const Triangle & rhs)
{
	if(&rhs != this)
	{
		p1 = rhs.p1;
		p2 = rhs.p2;
		p3 = rhs.p3;
	}
	return *this;
}
